<?php if (empty($data['list']) || count($data['list']) == 0) { ?>
<div style="text-align:center; padding-top:20px;"><?php __('no result found'); ?></div>
<?php } else { ?>
<input type="hidden" id="ar-night" value="<?php e($data['night']); ?>" />
<table width="100%" cellpadding="2" cellspacing="0" border="0" class="reportTbl reportTbl2">
  <thead>
    <tr>
      <td><?php __('Room'); ?></td>
      <td><?php __('Type'); ?></td>
      <td><?php __('Description'); ?></td>
      <td><?php __('Attributes'); ?></td>
      <td><?php __('Adults'); ?></td>
      <td><?php __('Child'); ?></td>
      <td><?php __('People'); ?></td>
      <td><?php __('Today\'s Rate'); ?></td>
      <td><?php __('Last Used'); ?></td>
      <td><?php __('Act'); ?></td>
    </tr>
  </thead>
  <tbody>
<?php     foreach ($data['list'] as $i=>$row) {
              $no    = $i+1;
              $style = ($i%2==0)?'':' style="background-color: #E3E3E3;"'; ?>
    <tr>
      <td<?php e($style); ?>><?php e($row['number']); ?></td>
      <td><?php e($row['type']); ?></td>
      <td><?php e($row['descr']); ?></td>
      <td><?php e($row['attr']); ?></td>
      <td align="right"><?php e($row['adults']); ?></td>
      <td align="right"><?php e($row['child']); ?></td>
      <td align="right"><?php e($row['people']); ?></td>
      <td align="right"><?php e($row['rate']); ?></td>
      <td align="center"><?php e($row['lastUsed']); ?></td>
      <td align="center"><?php e($row['actions']); ?></td>
    </tr>
<?php     } ?>
  </tbody>
</table>
<?php } ?>